#include <iostream>
#include <unistd.h>
#include <sys/types.h>
using namespace std;

int main(){
    while(true){
        sleep(1);
        cout<<"我是一个进程，pid:"<<getpid()<<endl;
    }
    return 0;
}